<?php
class PhpView extends View{
    private $vars = array();
    protected function setVars($vars) {
        $this->vars = $vars;
    }

    protected function parseTpl($template) {
        extract($this->vars);
        include $template;
    }
};
?>